Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

starboard: Create starboard_unittest_wrapper #5031

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

yell0wd0g
Copy link
Contributor

@yell0wd0g yell0wd0g commented Mar 6, 2025

This is a follow up to #4831 which landed with a TODO to move the newly introduced starboard_unittests into a if (current_toolchain == starboard_toolchain) block, and let external users depend on a starboard_unittests_wrapper instead.

#4831 landed unintendedly, so this CL follows up quickly; CI is likely to fail while #4464 is being worked on.

Bug: b/384819454

@yell0wd0g yell0wd0g requested review from oxve and andrewsavage1 March 6, 2025 17:13
@yell0wd0g
Copy link
Contributor Author

@oxve roping you in since I think this will need #4464 working to be able to find the "out/linux-x64x11_devel/starboard/starboard_unittests" executable.

@@ -27,7 +27,7 @@
"services/service_manager/tests:service_manager_unittests",
"skia:skia_unittests",
"sql:sql_unittests",
"starboard:starboard_unittests",
"starboard:starboard_unittests_wrapper",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Putting a non-test target here isn't going to work. The infra expects a runtime deps file to be created for each of these targets and currently that's only done for test targets.

What are you trying to achieve by putting the group target here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@andrewsavage1 knows better the intention, but IIUC we want to have a trampoline GN target to make sure we build with the starboard_toolchain. What would be a good way to codify that?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's wait on this until #4464 lands

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants